

<div id="main">
<h2>User Accounts</h2>  
  <% if logged_in? %>
Your ID is <%= @current_user.id %>
<% else %>
//
<% end %>


<% for user in @users %>
  <li> <%= link_to h(user.name), :controller => "user", :action => "show", :id => user.id %></li>
 
  <%  end %>
</div>

<div id="sub">
  <div>
  User Menu
  <ul>
    <li><%= link_to("Add a Book", :controller => "book", :action => "new")%></li>
    <li>See your books</li>
    <li>Find a book</li>
  </ul>
</div>
  
</div>